package top.gohigh.springboot.service;

import org.springframework.stereotype.Service;
import top.gohigh.springboot.dao.RoleDao;
import top.gohigh.springboot.model.Role;

import javax.annotation.Resource;

public interface RoleService {

    Role getById(Long id);
    Role add(String name);
    Role update(Role role);
}
